
public class Transaction {

    private Customer customer;
    private ShoppingCart shoppingCart;

    public Transaction(ShoppingCart shoppingCart, Payment payment) {
    }

    public void setCustomer(Customer customer) {
        this.customer = customer;
    }

    public void writeToTransactionFile(String fileName) {
    }

    public void printInvoice() {
    }

    @Override
    public String toString() {
        return null;
    }

}

